charges: RecursivelyApplyOptions<{
cancel: {
body: typeof ContractNoBody;
method: "DELETE";
path: "/:chargeId/:typeId/";
pathParams: ZodObject<{
chargeId: ZodUnion<[ZodNumber, ZodString]>;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}>;
responses: {
200: ZodObject<{
Contract: ZodObject<{
acceptedAt: ZodString;
document: ZodString;
ip: ZodString;
name: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}>;
Customer: ZodObject<extendShape<{
Address: ZodObject<{
city: ...;
complement: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
}, "strip", ZodTypeAny, {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
}, {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
}>;
document: ZodString;
emails: ZodArray<ZodString, "many">;
invoiceHoldIss: ZodOptional<ZodBoolean>;
municipalDocument: ZodOptional<ZodString>;
myId: ZodString;
name: ZodString;
phones: ZodOptional<ZodArray<(...), (...)>>;
}, {
createdAt: ZodString;
galaPayId: ZodNumber;
status: ZodEnum<[(...), (...), (...), (...)]>;
updatedAt: ZodString;
}>, "strip", ZodTypeAny, {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
}, {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
}>;
ExtraFields: ZodArray<ZodObject<{
tagName: ZodString;
value: ZodString;
}, "strip", ZodTypeAny, {
tagName: string;
value: string;
}, {
tagName: string;
value: string;
}>, "many">;
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ZodEnum<[(...), (...), (...), (...)]>;
description: ZodString;
galaxPaySubAccountId: ZodOptional<ZodNumber>;
qtdDaysAfterPay: ZodOptional<ZodNumber>;
qtdDaysBeforePayDay: ZodOptional<ZodNumber>;
type: ZodEnum<[(...), (...)]>;
}, "strip", ZodTypeAny, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}>, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ZodOptional<ZodObject<{
document: ...;
name: ...;
}, "strip", ZodTypeAny, {
document?: ...;
name?: ...;
}, {
document?: ...;
name?: ...;
}>>;
deadlineDays: ZodOptional<ZodNumber>;
documentNumber: ZodOptional<ZodString>;
fine: ZodOptional<ZodNumber>;
instructions: ZodOptional<ZodString>;
interest: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
}, {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<ZodObject<{
ip: ...;
sessionId: ...;
}, "strip", ZodTypeAny, {
ip: ...;
sessionId: ...;
}, {
ip: ...;
sessionId: ...;
}>>;
Card: ZodObject<{
Brand: ZodOptional<(...)>;
createdAt: ZodOptional<(...)>;
customerGalaxPayId: ZodOptional<(...)>;
customerMyId: ZodOptional<(...)>;
cvv: ZodOptional<(...)>;
expiresAt: ZodOptional<(...)>;
galaxPayId: ZodOptional<(...)>;
holder: ZodOptional<(...)>;
myId: ZodOptional<(...)>;
number: ZodOptional<(...)>;
updatedAt: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}>;
cardOperatorId: ZodOptional<ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>>;
preAuthorize: ZodOptional<ZodBoolean>;
}, "strip", ZodTypeAny, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}>;
PaymentMethodPix: ZodObject<{
Deadline: ZodOptional<ZodObject<{
type: ...;
value: ...;
}, "strip", ZodTypeAny, {
type?: ...;
value?: ...;
}, {
type?: ...;
value?: ...;
}>>;
fine: ZodOptional<ZodNumber>;
instructions: ZodOptional<ZodString>;
interest: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
}, {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
}>;
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<["percent", "fixed"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}>;
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ZodObject<{
code: ...;
message: ...;
}, "strip", ZodTypeAny, {
code: ...;
message: ...;
}, {
code: ...;
message: ...;
}>;
Antifraud: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}>;
Boleto: ZodObject<{
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}>;
ConciliationOccurrences: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
CreditCard: ZodObject<{
Card: ...;
}, "strip", ZodTypeAny, {
Card: ...;
}, {
Card: ...;
}>;
Invoice: ZodObject<{
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, "strip", ZodTypeAny, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}>;
Pix: ZodObject<{
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}, "strip", ZodTypeAny, {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}, {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}>;
Subscription: ZodObject<{
Customer: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
additionalInfo: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, "strip", ZodTypeAny, {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}>;
additionalInfo: ZodOptional<ZodString>;
authorizationCode: ZodOptional<ZodString>;
cardOperatorId: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
chargeGalaxPayId: ZodNumber;
chargeMyId: ZodString;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
installment: ZodNumber;
myId: ZodString;
payday: ZodString;
paydayDate: ZodString;
payedOutsideGalaxPay: ZodBoolean;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodNumber;
subscriptionMyId: ZodString;
tid: ZodOptional<ZodString>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<["active", "canceled", "closed", "waitingPayment", "inactive"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: string;
name?: string;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: "days";
value?: number;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: string;
name?: string;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: "days";
value?: number;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>;
};
};
capture: {
body: typeof ContractNoBody;
method: "PUT";
path: "/:chargeId/:typeId/capture";
pathParams: ZodObject<{
chargeId: ZodUnion<[ZodNumber, ZodString]>;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}>;
responses: {
200: ZodObject<{
Contract: ZodObject<{
acceptedAt: ZodString;
document: ZodString;
ip: ZodString;
name: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}>;
Customer: ZodObject<extendShape<{
Address: ZodObject<{
city: ...;
complement: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
}, "strip", ZodTypeAny, {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
}, {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
}>;
document: ZodString;
emails: ZodArray<ZodString, "many">;
invoiceHoldIss: ZodOptional<ZodBoolean>;
municipalDocument: ZodOptional<ZodString>;
myId: ZodString;
name: ZodString;
phones: ZodOptional<ZodArray<(...), (...)>>;
}, {
createdAt: ZodString;
galaPayId: ZodNumber;
status: ZodEnum<[(...), (...), (...), (...)]>;
updatedAt: ZodString;
}>, "strip", ZodTypeAny, {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
}, {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
}>;
ExtraFields: ZodArray<ZodObject<{
tagName: ZodString;
value: ZodString;
}, "strip", ZodTypeAny, {
tagName: string;
value: string;
}, {
tagName: string;
value: string;
}>, "many">;
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ZodEnum<[(...), (...), (...), (...)]>;
description: ZodString;
galaxPaySubAccountId: ZodOptional<ZodNumber>;
qtdDaysAfterPay: ZodOptional<ZodNumber>;
qtdDaysBeforePayDay: ZodOptional<ZodNumber>;
type: ZodEnum<[(...), (...)]>;
}, "strip", ZodTypeAny, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}>, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ZodOptional<ZodObject<{
document: ...;
name: ...;
}, "strip", ZodTypeAny, {
document?: ...;
name?: ...;
}, {
document?: ...;
name?: ...;
}>>;
deadlineDays: ZodOptional<ZodNumber>;
documentNumber: ZodOptional<ZodString>;
fine: ZodOptional<ZodNumber>;
instructions: ZodOptional<ZodString>;
interest: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
}, {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<ZodObject<{
ip: ...;
sessionId: ...;
}, "strip", ZodTypeAny, {
ip: ...;
sessionId: ...;
}, {
ip: ...;
sessionId: ...;
}>>;
Card: ZodObject<{
Brand: ZodOptional<(...)>;
createdAt: ZodOptional<(...)>;
customerGalaxPayId: ZodOptional<(...)>;
customerMyId: ZodOptional<(...)>;
cvv: ZodOptional<(...)>;
expiresAt: ZodOptional<(...)>;
galaxPayId: ZodOptional<(...)>;
holder: ZodOptional<(...)>;
myId: ZodOptional<(...)>;
number: ZodOptional<(...)>;
updatedAt: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}>;
cardOperatorId: ZodOptional<ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>>;
preAuthorize: ZodOptional<ZodBoolean>;
}, "strip", ZodTypeAny, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}>;
PaymentMethodPix: ZodObject<{
Deadline: ZodOptional<ZodObject<{
type: ...;
value: ...;
}, "strip", ZodTypeAny, {
type?: ...;
value?: ...;
}, {
type?: ...;
value?: ...;
}>>;
fine: ZodOptional<ZodNumber>;
instructions: ZodOptional<ZodString>;
interest: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
}, {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
}>;
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<["percent", "fixed"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}>;
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ZodObject<{
code: ...;
message: ...;
}, "strip", ZodTypeAny, {
code: ...;
message: ...;
}, {
code: ...;
message: ...;
}>;
Antifraud: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}>;
Boleto: ZodObject<{
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}>;
ConciliationOccurrences: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
CreditCard: ZodObject<{
Card: ...;
}, "strip", ZodTypeAny, {
Card: ...;
}, {
Card: ...;
}>;
Invoice: ZodObject<{
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, "strip", ZodTypeAny, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}>;
Pix: ZodObject<{
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}, "strip", ZodTypeAny, {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}, {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}>;
Subscription: ZodObject<{
Customer: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
additionalInfo: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, "strip", ZodTypeAny, {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}>;
additionalInfo: ZodOptional<ZodString>;
authorizationCode: ZodOptional<ZodString>;
cardOperatorId: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
chargeGalaxPayId: ZodNumber;
chargeMyId: ZodString;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
installment: ZodNumber;
myId: ZodString;
payday: ZodString;
paydayDate: ZodString;
payedOutsideGalaxPay: ZodBoolean;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodNumber;
subscriptionMyId: ZodString;
tid: ZodOptional<ZodString>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<["active", "canceled", "closed", "waitingPayment", "inactive"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: string;
name?: string;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: "days";
value?: number;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: string;
name?: string;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: "days";
value?: number;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>;
};
};
create: {
body: ZodObject<{
Customer: ZodObject<{
Address: ZodOptional<ZodObject<{
city: ZodOptional<(...)>;
complement: ZodOptional<(...)>;
neighborhood: ZodOptional<(...)>;
number: ZodOptional<(...)>;
state: ZodOptional<(...)>;
street: ZodOptional<(...)>;
zipCode: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
city?: (...) | (...);
complement?: (...) | (...);
neighborhood?: (...) | (...);
number?: (...) | (...);
state?: (...) | (...);
street?: (...) | (...);
zipCode?: (...) | (...);
}, {
city?: (...) | (...);
complement?: (...) | (...);
neighborhood?: (...) | (...);
number?: (...) | (...);
state?: (...) | (...);
street?: (...) | (...);
zipCode?: (...) | (...);
}>>;
createdAt: ZodOptional<ZodString>;
document: ZodOptional<ZodString>;
emails: ZodOptional<ZodArray<ZodString, "many">>;
galaPayId: ZodOptional<ZodNumber>;
invoiceHoldIss: ZodOptional<ZodOptional<ZodBoolean>>;
municipalDocument: ZodOptional<ZodOptional<ZodString>>;
myId: ZodOptional<ZodString>;
name: ZodOptional<ZodString>;
phones: ZodOptional<ZodOptional<ZodArray<ZodNumber, "many">>>;
status: ZodOptional<ZodEnum<["active", "delayed", "inactive", "withoutSubscriptionOrCharge"]>>;
updatedAt: ZodOptional<ZodString>;
}, "strip", ZodTypeAny, {
Address?: {
city?: string;
complement?: string;
neighborhood?: string;
number?: string;
state?: string;
street?: string;
zipCode?: string;
};
createdAt?: string;
document?: string;
emails?: string[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: number[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
}, {
Address?: {
city?: string;
complement?: string;
neighborhood?: string;
number?: string;
state?: string;
street?: string;
zipCode?: string;
};
createdAt?: string;
document?: string;
emails?: string[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: number[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
}>;
PaymentMethodBoleto: ZodOptional<ZodObject<{
Aggrement: ZodOptional<ZodObject<{
document: ...;
name: ...;
}, "strip", ZodTypeAny, {
document?: ...;
name?: ...;
}, {
document?: ...;
name?: ...;
}>>;
deadlineDays: ZodOptional<ZodNumber>;
documentNumber: ZodOptional<ZodString>;
fine: ZodOptional<ZodNumber>;
instructions: ZodOptional<ZodString>;
interest: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
}, {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
}>>;
PaymentMethodCreditCard: ZodOptional<ZodObject<{
Antifraud: ZodOptional<ZodObject<{
ip: ...;
sessionId: ...;
}, "strip", ZodTypeAny, {
ip: ...;
sessionId: ...;
}, {
ip: ...;
sessionId: ...;
}>>;
Card: ZodObject<{
Brand: ZodOptional<(...)>;
createdAt: ZodOptional<(...)>;
customerGalaxPayId: ZodOptional<(...)>;
customerMyId: ZodOptional<(...)>;
cvv: ZodOptional<(...)>;
expiresAt: ZodOptional<(...)>;
galaxPayId: ZodOptional<(...)>;
holder: ZodOptional<(...)>;
myId: ZodOptional<(...)>;
number: ZodOptional<(...)>;
updatedAt: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}>;
cardOperatorId: ZodOptional<ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>>;
preAuthorize: ZodOptional<ZodBoolean>;
}, "strip", ZodTypeAny, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}>>;
PaymentMethodPix: ZodOptional<ZodObject<{
Deadline: ZodOptional<ZodObject<{
type: ...;
value: ...;
}, "strip", ZodTypeAny, {
type?: ...;
value?: ...;
}, {
type?: ...;
value?: ...;
}>>;
fine: ZodOptional<ZodNumber>;
instructions: ZodOptional<ZodString>;
interest: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
}, {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
}>>;
additionalInfo: ZodOptional<ZodString>;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodString;
payday: ZodString;
payedOutsideGalaxPay: ZodOptional<ZodBoolean>;
planMyId: ZodOptional<ZodString>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Customer: {
Address?: {
city?: string;
complement?: string;
neighborhood?: string;
number?: string;
state?: string;
street?: string;
zipCode?: string;
};
createdAt?: string;
document?: string;
emails?: string[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: number[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
};
PaymentMethodBoleto?: {
Aggrement?: {
document?: string;
name?: string;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard?: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix?: {
Deadline?: {
type?: "days";
value?: number;
};
fine?: number;
instructions?: string;
interest?: number;
};
additionalInfo?: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
payday: string;
payedOutsideGalaxPay?: boolean;
planMyId?: string;
value: number;
}, {
Customer: {
Address?: {
city?: string;
complement?: string;
neighborhood?: string;
number?: string;
state?: string;
street?: string;
zipCode?: string;
};
createdAt?: string;
document?: string;
emails?: string[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: number[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
};
PaymentMethodBoleto?: {
Aggrement?: {
document?: string;
name?: string;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard?: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix?: {
Deadline?: {
type?: "days";
value?: number;
};
fine?: number;
instructions?: string;
interest?: number;
};
additionalInfo?: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
payday: string;
payedOutsideGalaxPay?: boolean;
planMyId?: string;
value: number;
}>;
method: "POST";
path: "/";
responses: {
200: ZodObject<{
Charge: ZodObject<{
Contract: ZodObject<{
acceptedAt: ZodString;
document: ZodString;
ip: ZodString;
name: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}>;
Customer: ZodObject<extendShape<{
Address: ...;
document: ...;
emails: ...;
invoiceHoldIss: ...;
municipalDocument: ...;
myId: ...;
name: ...;
phones: ...;
}, {
createdAt: ...;
galaPayId: ...;
status: ...;
updatedAt: ...;
}>, "strip", ZodTypeAny, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}>;
ExtraFields: ZodArray<ZodObject<{
tagName: ...;
value: ...;
}, "strip", ZodTypeAny, {
tagName: ...;
value: ...;
}, {
tagName: ...;
value: ...;
}>, "many">;
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ...;
description: ...;
galaxPaySubAccountId: ...;
qtdDaysAfterPay: ...;
qtdDaysBeforePayDay: ...;
type: ...;
}, "strip", ZodTypeAny, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}>, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ZodOptional<(...)>;
deadlineDays: ZodOptional<(...)>;
documentNumber: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<(...)>;
Card: ZodObject<(...), (...), (...), (...), (...)>;
cardOperatorId: ZodOptional<(...)>;
preAuthorize: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}>;
PaymentMethodPix: ZodObject<{
Deadline: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<(...)>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}>;
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo: ...;
authorizationCode: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid: ...;
value: ...;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<["active", "canceled", "closed", "waitingPayment", "inactive"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}>;
};
};
list: {
method: "GET";
path: "/";
query: ZodObject<{
createdAtFrom: ZodOptional<ZodString>;
createdAtTo: ZodOptional<ZodString>;
customerGalaxPayIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodNumber, "many">, ZodNumber]>>, undefined | string | number, undefined | number | number[]>;
customerMyIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodString, "many">, ZodString]>>, undefined | string | number, undefined | string | string[]>;
galaxPayIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodNumber, "many">, ZodNumber]>>, undefined | string | number, undefined | number | number[]>;
limit: ZodNumber;
myIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodString, "many">, ZodString]>>, undefined | string | number, undefined | string | string[]>;
order: ZodOptional<ZodEnum<["createdAt.asc", "createdAt.desc"]>>;
startAt: ZodNumber;
status: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodEnum<(...)>, "many">, ZodEnum<[(...), (...)]>]>>, undefined | string | number, undefined | "active" | "inactive" | ("active" | "inactive")[]>;
}, "strip", ZodTypeAny, {
createdAtFrom?: string;
createdAtTo?: string;
customerGalaxPayIds?: string | number;
customerMyIds?: string | number;
galaxPayIds?: string | number;
limit: number;
myIds?: string | number;
order?: "createdAt.asc" | "createdAt.desc";
startAt: number;
status?: string | number;
}, {
createdAtFrom?: string;
createdAtTo?: string;
customerGalaxPayIds?: number | number[];
customerMyIds?: string | string[];
galaxPayIds?: number | number[];
limit: number;
myIds?: string | string[];
order?: "createdAt.asc" | "createdAt.desc";
startAt: number;
status?: "active" | "inactive" | ("active" | "inactive")[];
}>;
responses: {
200: ZodObject<{
Charges: ZodArray<ZodObject<{
Contract: ZodObject<{
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
}, {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
}>;
Customer: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
}, {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
}>;
ExtraFields: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
InvoiceConfig: ZodEffects<ZodObject<(...), (...), (...), (...), (...)>, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ...;
deadlineDays: ...;
documentNumber: ...;
fine: ...;
instructions: ...;
interest: ...;
}, "strip", ZodTypeAny, {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
}, {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ...;
Card: ...;
cardOperatorId: ...;
preAuthorize: ...;
}, "strip", ZodTypeAny, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}>;
PaymentMethodPix: ZodObject<{
Deadline: ...;
fine: ...;
instructions: ...;
interest: ...;
}, "strip", ZodTypeAny, {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
}, {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
}>;
Split: ZodObject<{
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
}, "strip", ZodTypeAny, {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
}, {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
}>;
Transactions: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<[(...), (...), (...)]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...)]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
};
ExtraFields: {
tagName: ...;
value: ...;
}[];
InvoiceConfig: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
};
Transactions: {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
};
ExtraFields: {
tagName: ...;
value: ...;
}[];
InvoiceConfig: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
};
Transactions: {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>, "many">;
totalQtdFoundInPage: ZodNumber;
}, "strip", ZodTypeAny, {
Charges: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}[];
totalQtdFoundInPage: number;
}, {
Charges: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}[];
totalQtdFoundInPage: number;
}>;
};
};
retry: {
body: typeof ContractNoBody;
method: "PUT";
path: "/:chargeId/:typeId/retry";
pathParams: ZodObject<{
chargeId: ZodUnion<[ZodNumber, ZodString]>;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}>;
responses: {
200: ZodObject<{
Charge: ZodObject<{
Contract: ZodObject<{
acceptedAt: ZodString;
document: ZodString;
ip: ZodString;
name: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}>;
Customer: ZodObject<extendShape<{
Address: ...;
document: ...;
emails: ...;
invoiceHoldIss: ...;
municipalDocument: ...;
myId: ...;
name: ...;
phones: ...;
}, {
createdAt: ...;
galaPayId: ...;
status: ...;
updatedAt: ...;
}>, "strip", ZodTypeAny, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}>;
ExtraFields: ZodArray<ZodObject<{
tagName: ...;
value: ...;
}, "strip", ZodTypeAny, {
tagName: ...;
value: ...;
}, {
tagName: ...;
value: ...;
}>, "many">;
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ...;
description: ...;
galaxPaySubAccountId: ...;
qtdDaysAfterPay: ...;
qtdDaysBeforePayDay: ...;
type: ...;
}, "strip", ZodTypeAny, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}>, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ZodOptional<(...)>;
deadlineDays: ZodOptional<(...)>;
documentNumber: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<(...)>;
Card: ZodObject<(...), (...), (...), (...), (...)>;
cardOperatorId: ZodOptional<(...)>;
preAuthorize: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}>;
PaymentMethodPix: ZodObject<{
Deadline: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<(...)>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}>;
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo: ...;
authorizationCode: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid: ...;
value: ...;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<["active", "canceled", "closed", "waitingPayment", "inactive"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}>;
};
};
reverse: {
body: ZodObject<{
valueToReverse: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
valueToReverse?: number;
}, {
valueToReverse?: number;
}>;
method: "PUT";
path: "/:chargeId/:typeId/reverse";
pathParams: ZodObject<{
chargeId: ZodUnion<[ZodNumber, ZodString]>;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}>;
responses: {
200: ZodObject<{
Charge: ZodObject<{
Contract: ZodObject<{
acceptedAt: ZodString;
document: ZodString;
ip: ZodString;
name: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}>;
Customer: ZodObject<extendShape<{
Address: ...;
document: ...;
emails: ...;
invoiceHoldIss: ...;
municipalDocument: ...;
myId: ...;
name: ...;
phones: ...;
}, {
createdAt: ...;
galaPayId: ...;
status: ...;
updatedAt: ...;
}>, "strip", ZodTypeAny, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}>;
ExtraFields: ZodArray<ZodObject<{
tagName: ...;
value: ...;
}, "strip", ZodTypeAny, {
tagName: ...;
value: ...;
}, {
tagName: ...;
value: ...;
}>, "many">;
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ...;
description: ...;
galaxPaySubAccountId: ...;
qtdDaysAfterPay: ...;
qtdDaysBeforePayDay: ...;
type: ...;
}, "strip", ZodTypeAny, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}>, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ZodOptional<(...)>;
deadlineDays: ZodOptional<(...)>;
documentNumber: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<(...)>;
Card: ZodObject<(...), (...), (...), (...), (...)>;
cardOperatorId: ZodOptional<(...)>;
preAuthorize: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}>;
PaymentMethodPix: ZodObject<{
Deadline: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<(...)>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}>;
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo: ...;
authorizationCode: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid: ...;
value: ...;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<["active", "canceled", "closed", "waitingPayment", "inactive"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}>;
};
};
update: {
body: ZodObject<{
additionalInfo: ZodOptional<ZodString>;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodOptional<ZodString>;
payday: ZodOptional<ZodString>;
payedOutsideGalaxPay: ZodOptional<ZodBoolean>;
planGalaxPayId: ZodOptional<ZodString>;
planMyId: ZodOptional<ZodString>;
value: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
additionalInfo?: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId?: string;
payday?: string;
payedOutsideGalaxPay?: boolean;
planGalaxPayId?: string;
planMyId?: string;
value?: number;
}, {
additionalInfo?: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId?: string;
payday?: string;
payedOutsideGalaxPay?: boolean;
planGalaxPayId?: string;
planMyId?: string;
value?: number;
}>;
method: "PUT";
path: "/:chargeId/:typeId";
pathParams: ZodObject<{
chargeId: ZodUnion<[ZodNumber, ZodString]>;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}>;
responses: {
200: ZodObject<{
Charge: ZodObject<{
Contract: ZodObject<{
acceptedAt: ZodString;
document: ZodString;
ip: ZodString;
name: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}>;
Customer: ZodObject<extendShape<{
Address: ...;
document: ...;
emails: ...;
invoiceHoldIss: ...;
municipalDocument: ...;
myId: ...;
name: ...;
phones: ...;
}, {
createdAt: ...;
galaPayId: ...;
status: ...;
updatedAt: ...;
}>, "strip", ZodTypeAny, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}>;
ExtraFields: ZodArray<ZodObject<{
tagName: ...;
value: ...;
}, "strip", ZodTypeAny, {
tagName: ...;
value: ...;
}, {
tagName: ...;
value: ...;
}>, "many">;
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ...;
description: ...;
galaxPaySubAccountId: ...;
qtdDaysAfterPay: ...;
qtdDaysBeforePayDay: ...;
type: ...;
}, "strip", ZodTypeAny, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}>, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ZodOptional<(...)>;
deadlineDays: ZodOptional<(...)>;
documentNumber: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<(...)>;
Card: ZodObject<(...), (...), (...), (...), (...)>;
cardOperatorId: ZodOptional<(...)>;
preAuthorize: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}>;
PaymentMethodPix: ZodObject<{
Deadline: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<(...)>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}>;
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo: ...;
authorizationCode: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid: ...;
value: ...;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<["active", "canceled", "closed", "waitingPayment", "inactive"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}>;
};
};
}, {
commonResponses: {
507: ContractPlainType<ZodError<any>>;
};
pathPrefix: "/charges";
}> = ...
Type declaration
cancel: {
body: typeof ContractNoBody;
method: "DELETE";
path: "/:chargeId/:typeId/";
pathParams: ZodObject<{
chargeId: ZodUnion<[ZodNumber, ZodString]>;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}>;
responses: {
200: ZodObject<{
Contract: ZodObject<{
acceptedAt: ZodString;
document: ZodString;
ip: ZodString;
name: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}>;
Customer: ZodObject<extendShape<{
Address: ZodObject<{
city: ...;
complement: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
}, "strip", ZodTypeAny, {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
}, {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
}>;
document: ZodString;
emails: ZodArray<ZodString, "many">;
invoiceHoldIss: ZodOptional<ZodBoolean>;
municipalDocument: ZodOptional<ZodString>;
myId: ZodString;
name: ZodString;
phones: ZodOptional<ZodArray<(...), (...)>>;
}, {
createdAt: ZodString;
galaPayId: ZodNumber;
status: ZodEnum<[(...), (...), (...), (...)]>;
updatedAt: ZodString;
}>, "strip", ZodTypeAny, {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
}, {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
}>;
ExtraFields: ZodArray<ZodObject<{
tagName: ZodString;
value: ZodString;
}, "strip", ZodTypeAny, {
tagName: string;
value: string;
}, {
tagName: string;
value: string;
}>, "many">;
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ZodEnum<[(...), (...), (...), (...)]>;
description: ZodString;
galaxPaySubAccountId: ZodOptional<ZodNumber>;
qtdDaysAfterPay: ZodOptional<ZodNumber>;
qtdDaysBeforePayDay: ZodOptional<ZodNumber>;
type: ZodEnum<[(...), (...)]>;
}, "strip", ZodTypeAny, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}>, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ZodOptional<ZodObject<{
document: ...;
name: ...;
}, "strip", ZodTypeAny, {
document?: ...;
name?: ...;
}, {
document?: ...;
name?: ...;
}>>;
deadlineDays: ZodOptional<ZodNumber>;
documentNumber: ZodOptional<ZodString>;
fine: ZodOptional<ZodNumber>;
instructions: ZodOptional<ZodString>;
interest: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
}, {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<ZodObject<{
ip: ...;
sessionId: ...;
}, "strip", ZodTypeAny, {
ip: ...;
sessionId: ...;
}, {
ip: ...;
sessionId: ...;
}>>;
Card: ZodObject<{
Brand: ZodOptional<(...)>;
createdAt: ZodOptional<(...)>;
customerGalaxPayId: ZodOptional<(...)>;
customerMyId: ZodOptional<(...)>;
cvv: ZodOptional<(...)>;
expiresAt: ZodOptional<(...)>;
galaxPayId: ZodOptional<(...)>;
holder: ZodOptional<(...)>;
myId: ZodOptional<(...)>;
number: ZodOptional<(...)>;
updatedAt: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}>;
cardOperatorId: ZodOptional<ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>>;
preAuthorize: ZodOptional<ZodBoolean>;
}, "strip", ZodTypeAny, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}>;
PaymentMethodPix: ZodObject<{
Deadline: ZodOptional<ZodObject<{
type: ...;
value: ...;
}, "strip", ZodTypeAny, {
type?: ...;
value?: ...;
}, {
type?: ...;
value?: ...;
}>>;
fine: ZodOptional<ZodNumber>;
instructions: ZodOptional<ZodString>;
interest: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
}, {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
}>;
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<["percent", "fixed"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}>;
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ZodObject<{
code: ...;
message: ...;
}, "strip", ZodTypeAny, {
code: ...;
message: ...;
}, {
code: ...;
message: ...;
}>;
Antifraud: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}>;
Boleto: ZodObject<{
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}>;
ConciliationOccurrences: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
CreditCard: ZodObject<{
Card: ...;
}, "strip", ZodTypeAny, {
Card: ...;
}, {
Card: ...;
}>;
Invoice: ZodObject<{
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, "strip", ZodTypeAny, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}>;
Pix: ZodObject<{
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}, "strip", ZodTypeAny, {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}, {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}>;
Subscription: ZodObject<{
Customer: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
additionalInfo: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, "strip", ZodTypeAny, {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}>;
additionalInfo: ZodOptional<ZodString>;
authorizationCode: ZodOptional<ZodString>;
cardOperatorId: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
chargeGalaxPayId: ZodNumber;
chargeMyId: ZodString;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
installment: ZodNumber;
myId: ZodString;
payday: ZodString;
paydayDate: ZodString;
payedOutsideGalaxPay: ZodBoolean;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodNumber;
subscriptionMyId: ZodString;
tid: ZodOptional<ZodString>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<["active", "canceled", "closed", "waitingPayment", "inactive"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: string;
name?: string;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: "days";
value?: number;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: string;
name?: string;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: "days";
value?: number;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>;
};
}
body: typeof ContractNoBody
method: "DELETE"
path: "/:chargeId/:typeId/"
pathParams: ZodObject<{
chargeId: ZodUnion<[ZodNumber, ZodString]>;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}>
responses: {
200: ZodObject<{
Contract: ZodObject<{
acceptedAt: ZodString;
document: ZodString;
ip: ZodString;
name: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}>;
Customer: ZodObject<extendShape<{
Address: ZodObject<{
city: ...;
complement: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
}, "strip", ZodTypeAny, {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
}, {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
}>;
document: ZodString;
emails: ZodArray<ZodString, "many">;
invoiceHoldIss: ZodOptional<ZodBoolean>;
municipalDocument: ZodOptional<ZodString>;
myId: ZodString;
name: ZodString;
phones: ZodOptional<ZodArray<(...), (...)>>;
}, {
createdAt: ZodString;
galaPayId: ZodNumber;
status: ZodEnum<[(...), (...), (...), (...)]>;
updatedAt: ZodString;
}>, "strip", ZodTypeAny, {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
}, {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
}>;
ExtraFields: ZodArray<ZodObject<{
tagName: ZodString;
value: ZodString;
}, "strip", ZodTypeAny, {
tagName: string;
value: string;
}, {
tagName: string;
value: string;
}>, "many">;
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ZodEnum<[(...), (...), (...), (...)]>;
description: ZodString;
galaxPaySubAccountId: ZodOptional<ZodNumber>;
qtdDaysAfterPay: ZodOptional<ZodNumber>;
qtdDaysBeforePayDay: ZodOptional<ZodNumber>;
type: ZodEnum<[(...), (...)]>;
}, "strip", ZodTypeAny, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}>, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ZodOptional<ZodObject<{
document: ...;
name: ...;
}, "strip", ZodTypeAny, {
document?: ...;
name?: ...;
}, {
document?: ...;
name?: ...;
}>>;
deadlineDays: ZodOptional<ZodNumber>;
documentNumber: ZodOptional<ZodString>;
fine: ZodOptional<ZodNumber>;
instructions: ZodOptional<ZodString>;
interest: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
}, {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<ZodObject<{
ip: ...;
sessionId: ...;
}, "strip", ZodTypeAny, {
ip: ...;
sessionId: ...;
}, {
ip: ...;
sessionId: ...;
}>>;
Card: ZodObject<{
Brand: ZodOptional<(...)>;
createdAt: ZodOptional<(...)>;
customerGalaxPayId: ZodOptional<(...)>;
customerMyId: ZodOptional<(...)>;
cvv: ZodOptional<(...)>;
expiresAt: ZodOptional<(...)>;
galaxPayId: ZodOptional<(...)>;
holder: ZodOptional<(...)>;
myId: ZodOptional<(...)>;
number: ZodOptional<(...)>;
updatedAt: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}>;
cardOperatorId: ZodOptional<ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>>;
preAuthorize: ZodOptional<ZodBoolean>;
}, "strip", ZodTypeAny, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}>;
PaymentMethodPix: ZodObject<{
Deadline: ZodOptional<ZodObject<{
type: ...;
value: ...;
}, "strip", ZodTypeAny, {
type?: ...;
value?: ...;
}, {
type?: ...;
value?: ...;
}>>;
fine: ZodOptional<ZodNumber>;
instructions: ZodOptional<ZodString>;
interest: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
}, {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
}>;
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<["percent", "fixed"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}>;
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ZodObject<{
code: ...;
message: ...;
}, "strip", ZodTypeAny, {
code: ...;
message: ...;
}, {
code: ...;
message: ...;
}>;
Antifraud: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}>;
Boleto: ZodObject<{
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}>;
ConciliationOccurrences: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
CreditCard: ZodObject<{
Card: ...;
}, "strip", ZodTypeAny, {
Card: ...;
}, {
Card: ...;
}>;
Invoice: ZodObject<{
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, "strip", ZodTypeAny, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}>;
Pix: ZodObject<{
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}, "strip", ZodTypeAny, {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}, {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}>;
Subscription: ZodObject<{
Customer: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
additionalInfo: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, "strip", ZodTypeAny, {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}>;
additionalInfo: ZodOptional<ZodString>;
authorizationCode: ZodOptional<ZodString>;
cardOperatorId: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
chargeGalaxPayId: ZodNumber;
chargeMyId: ZodString;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
installment: ZodNumber;
myId: ZodString;
payday: ZodString;
paydayDate: ZodString;
payedOutsideGalaxPay: ZodBoolean;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodNumber;
subscriptionMyId: ZodString;
tid: ZodOptional<ZodString>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<["active", "canceled", "closed", "waitingPayment", "inactive"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: string;
name?: string;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: "days";
value?: number;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: string;
name?: string;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: "days";
value?: number;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>;
}
200: ZodObject<{
Contract: ZodObject<{
acceptedAt: ZodString;
document: ZodString;
ip: ZodString;
name: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}>;
Customer: ZodObject<extendShape<{
Address: ZodObject<{
city: ...;
complement: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
}, "strip", ZodTypeAny, {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
}, {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
}>;
document: ZodString;
emails: ZodArray<ZodString, "many">;
invoiceHoldIss: ZodOptional<ZodBoolean>;
municipalDocument: ZodOptional<ZodString>;
myId: ZodString;
name: ZodString;
phones: ZodOptional<ZodArray<(...), (...)>>;
}, {
createdAt: ZodString;
galaPayId: ZodNumber;
status: ZodEnum<[(...), (...), (...), (...)]>;
updatedAt: ZodString;
}>, "strip", ZodTypeAny, {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
}, {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
}>;
ExtraFields: ZodArray<ZodObject<{
tagName: ZodString;
value: ZodString;
}, "strip", ZodTypeAny, {
tagName: string;
value: string;
}, {
tagName: string;
value: string;
}>, "many">;
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ZodEnum<[(...), (...), (...), (...)]>;
description: ZodString;
galaxPaySubAccountId: ZodOptional<ZodNumber>;
qtdDaysAfterPay: ZodOptional<ZodNumber>;
qtdDaysBeforePayDay: ZodOptional<ZodNumber>;
type: ZodEnum<[(...), (...)]>;
}, "strip", ZodTypeAny, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}>, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ZodOptional<ZodObject<{
document: ...;
name: ...;
}, "strip", ZodTypeAny, {
document?: ...;
name?: ...;
}, {
document?: ...;
name?: ...;
}>>;
deadlineDays: ZodOptional<ZodNumber>;
documentNumber: ZodOptional<ZodString>;
fine: ZodOptional<ZodNumber>;
instructions: ZodOptional<ZodString>;
interest: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
}, {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<ZodObject<{
ip: ...;
sessionId: ...;
}, "strip", ZodTypeAny, {
ip: ...;
sessionId: ...;
}, {
ip: ...;
sessionId: ...;
}>>;
Card: ZodObject<{
Brand: ZodOptional<(...)>;
createdAt: ZodOptional<(...)>;
customerGalaxPayId: ZodOptional<(...)>;
customerMyId: ZodOptional<(...)>;
cvv: ZodOptional<(...)>;
expiresAt: ZodOptional<(...)>;
galaxPayId: ZodOptional<(...)>;
holder: ZodOptional<(...)>;
myId: ZodOptional<(...)>;
number: ZodOptional<(...)>;
updatedAt: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}>;
cardOperatorId: ZodOptional<ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>>;
preAuthorize: ZodOptional<ZodBoolean>;
}, "strip", ZodTypeAny, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}>;
PaymentMethodPix: ZodObject<{
Deadline: ZodOptional<ZodObject<{
type: ...;
value: ...;
}, "strip", ZodTypeAny, {
type?: ...;
value?: ...;
}, {
type?: ...;
value?: ...;
}>>;
fine: ZodOptional<ZodNumber>;
instructions: ZodOptional<ZodString>;
interest: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
}, {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
}>;
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<["percent", "fixed"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}>;
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ZodObject<{
code: ...;
message: ...;
}, "strip", ZodTypeAny, {
code: ...;
message: ...;
}, {
code: ...;
message: ...;
}>;
Antifraud: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}>;
Boleto: ZodObject<{
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}>;
ConciliationOccurrences: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
CreditCard: ZodObject<{
Card: ...;
}, "strip", ZodTypeAny, {
Card: ...;
}, {
Card: ...;
}>;
Invoice: ZodObject<{
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, "strip", ZodTypeAny, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}>;
Pix: ZodObject<{
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}, "strip", ZodTypeAny, {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}, {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}>;
Subscription: ZodObject<{
Customer: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
additionalInfo: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, "strip", ZodTypeAny, {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}>;
additionalInfo: ZodOptional<ZodString>;
authorizationCode: ZodOptional<ZodString>;
cardOperatorId: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
chargeGalaxPayId: ZodNumber;
chargeMyId: ZodString;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
installment: ZodNumber;
myId: ZodString;
payday: ZodString;
paydayDate: ZodString;
payedOutsideGalaxPay: ZodBoolean;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodNumber;
subscriptionMyId: ZodString;
tid: ZodOptional<ZodString>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<["active", "canceled", "closed", "waitingPayment", "inactive"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: string;
name?: string;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: "days";
value?: number;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: string;
name?: string;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: "days";
value?: number;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>
capture: {
body: typeof ContractNoBody;
method: "PUT";
path: "/:chargeId/:typeId/capture";
pathParams: ZodObject<{
chargeId: ZodUnion<[ZodNumber, ZodString]>;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}>;
responses: {
200: ZodObject<{
Contract: ZodObject<{
acceptedAt: ZodString;
document: ZodString;
ip: ZodString;
name: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}>;
Customer: ZodObject<extendShape<{
Address: ZodObject<{
city: ...;
complement: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
}, "strip", ZodTypeAny, {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
}, {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
}>;
document: ZodString;
emails: ZodArray<ZodString, "many">;
invoiceHoldIss: ZodOptional<ZodBoolean>;
municipalDocument: ZodOptional<ZodString>;
myId: ZodString;
name: ZodString;
phones: ZodOptional<ZodArray<(...), (...)>>;
}, {
createdAt: ZodString;
galaPayId: ZodNumber;
status: ZodEnum<[(...), (...), (...), (...)]>;
updatedAt: ZodString;
}>, "strip", ZodTypeAny, {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
}, {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
}>;
ExtraFields: ZodArray<ZodObject<{
tagName: ZodString;
value: ZodString;
}, "strip", ZodTypeAny, {
tagName: string;
value: string;
}, {
tagName: string;
value: string;
}>, "many">;
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ZodEnum<[(...), (...), (...), (...)]>;
description: ZodString;
galaxPaySubAccountId: ZodOptional<ZodNumber>;
qtdDaysAfterPay: ZodOptional<ZodNumber>;
qtdDaysBeforePayDay: ZodOptional<ZodNumber>;
type: ZodEnum<[(...), (...)]>;
}, "strip", ZodTypeAny, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}>, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ZodOptional<ZodObject<{
document: ...;
name: ...;
}, "strip", ZodTypeAny, {
document?: ...;
name?: ...;
}, {
document?: ...;
name?: ...;
}>>;
deadlineDays: ZodOptional<ZodNumber>;
documentNumber: ZodOptional<ZodString>;
fine: ZodOptional<ZodNumber>;
instructions: ZodOptional<ZodString>;
interest: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
}, {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<ZodObject<{
ip: ...;
sessionId: ...;
}, "strip", ZodTypeAny, {
ip: ...;
sessionId: ...;
}, {
ip: ...;
sessionId: ...;
}>>;
Card: ZodObject<{
Brand: ZodOptional<(...)>;
createdAt: ZodOptional<(...)>;
customerGalaxPayId: ZodOptional<(...)>;
customerMyId: ZodOptional<(...)>;
cvv: ZodOptional<(...)>;
expiresAt: ZodOptional<(...)>;
galaxPayId: ZodOptional<(...)>;
holder: ZodOptional<(...)>;
myId: ZodOptional<(...)>;
number: ZodOptional<(...)>;
updatedAt: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}>;
cardOperatorId: ZodOptional<ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>>;
preAuthorize: ZodOptional<ZodBoolean>;
}, "strip", ZodTypeAny, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}>;
PaymentMethodPix: ZodObject<{
Deadline: ZodOptional<ZodObject<{
type: ...;
value: ...;
}, "strip", ZodTypeAny, {
type?: ...;
value?: ...;
}, {
type?: ...;
value?: ...;
}>>;
fine: ZodOptional<ZodNumber>;
instructions: ZodOptional<ZodString>;
interest: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
}, {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
}>;
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<["percent", "fixed"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}>;
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ZodObject<{
code: ...;
message: ...;
}, "strip", ZodTypeAny, {
code: ...;
message: ...;
}, {
code: ...;
message: ...;
}>;
Antifraud: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}>;
Boleto: ZodObject<{
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}>;
ConciliationOccurrences: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
CreditCard: ZodObject<{
Card: ...;
}, "strip", ZodTypeAny, {
Card: ...;
}, {
Card: ...;
}>;
Invoice: ZodObject<{
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, "strip", ZodTypeAny, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}>;
Pix: ZodObject<{
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}, "strip", ZodTypeAny, {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}, {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}>;
Subscription: ZodObject<{
Customer: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
additionalInfo: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, "strip", ZodTypeAny, {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}>;
additionalInfo: ZodOptional<ZodString>;
authorizationCode: ZodOptional<ZodString>;
cardOperatorId: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
chargeGalaxPayId: ZodNumber;
chargeMyId: ZodString;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
installment: ZodNumber;
myId: ZodString;
payday: ZodString;
paydayDate: ZodString;
payedOutsideGalaxPay: ZodBoolean;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodNumber;
subscriptionMyId: ZodString;
tid: ZodOptional<ZodString>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<["active", "canceled", "closed", "waitingPayment", "inactive"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: string;
name?: string;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: "days";
value?: number;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: string;
name?: string;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: "days";
value?: number;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>;
};
}
body: typeof ContractNoBody
method: "PUT"
path: "/:chargeId/:typeId/capture"
pathParams: ZodObject<{
chargeId: ZodUnion<[ZodNumber, ZodString]>;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}>
responses: {
200: ZodObject<{
Contract: ZodObject<{
acceptedAt: ZodString;
document: ZodString;
ip: ZodString;
name: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}>;
Customer: ZodObject<extendShape<{
Address: ZodObject<{
city: ...;
complement: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
}, "strip", ZodTypeAny, {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
}, {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
}>;
document: ZodString;
emails: ZodArray<ZodString, "many">;
invoiceHoldIss: ZodOptional<ZodBoolean>;
municipalDocument: ZodOptional<ZodString>;
myId: ZodString;
name: ZodString;
phones: ZodOptional<ZodArray<(...), (...)>>;
}, {
createdAt: ZodString;
galaPayId: ZodNumber;
status: ZodEnum<[(...), (...), (...), (...)]>;
updatedAt: ZodString;
}>, "strip", ZodTypeAny, {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
}, {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
}>;
ExtraFields: ZodArray<ZodObject<{
tagName: ZodString;
value: ZodString;
}, "strip", ZodTypeAny, {
tagName: string;
value: string;
}, {
tagName: string;
value: string;
}>, "many">;
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ZodEnum<[(...), (...), (...), (...)]>;
description: ZodString;
galaxPaySubAccountId: ZodOptional<ZodNumber>;
qtdDaysAfterPay: ZodOptional<ZodNumber>;
qtdDaysBeforePayDay: ZodOptional<ZodNumber>;
type: ZodEnum<[(...), (...)]>;
}, "strip", ZodTypeAny, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}>, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ZodOptional<ZodObject<{
document: ...;
name: ...;
}, "strip", ZodTypeAny, {
document?: ...;
name?: ...;
}, {
document?: ...;
name?: ...;
}>>;
deadlineDays: ZodOptional<ZodNumber>;
documentNumber: ZodOptional<ZodString>;
fine: ZodOptional<ZodNumber>;
instructions: ZodOptional<ZodString>;
interest: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
}, {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<ZodObject<{
ip: ...;
sessionId: ...;
}, "strip", ZodTypeAny, {
ip: ...;
sessionId: ...;
}, {
ip: ...;
sessionId: ...;
}>>;
Card: ZodObject<{
Brand: ZodOptional<(...)>;
createdAt: ZodOptional<(...)>;
customerGalaxPayId: ZodOptional<(...)>;
customerMyId: ZodOptional<(...)>;
cvv: ZodOptional<(...)>;
expiresAt: ZodOptional<(...)>;
galaxPayId: ZodOptional<(...)>;
holder: ZodOptional<(...)>;
myId: ZodOptional<(...)>;
number: ZodOptional<(...)>;
updatedAt: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}>;
cardOperatorId: ZodOptional<ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>>;
preAuthorize: ZodOptional<ZodBoolean>;
}, "strip", ZodTypeAny, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}>;
PaymentMethodPix: ZodObject<{
Deadline: ZodOptional<ZodObject<{
type: ...;
value: ...;
}, "strip", ZodTypeAny, {
type?: ...;
value?: ...;
}, {
type?: ...;
value?: ...;
}>>;
fine: ZodOptional<ZodNumber>;
instructions: ZodOptional<ZodString>;
interest: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
}, {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
}>;
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<["percent", "fixed"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}>;
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ZodObject<{
code: ...;
message: ...;
}, "strip", ZodTypeAny, {
code: ...;
message: ...;
}, {
code: ...;
message: ...;
}>;
Antifraud: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}>;
Boleto: ZodObject<{
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}>;
ConciliationOccurrences: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
CreditCard: ZodObject<{
Card: ...;
}, "strip", ZodTypeAny, {
Card: ...;
}, {
Card: ...;
}>;
Invoice: ZodObject<{
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, "strip", ZodTypeAny, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}>;
Pix: ZodObject<{
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}, "strip", ZodTypeAny, {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}, {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}>;
Subscription: ZodObject<{
Customer: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
additionalInfo: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, "strip", ZodTypeAny, {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}>;
additionalInfo: ZodOptional<ZodString>;
authorizationCode: ZodOptional<ZodString>;
cardOperatorId: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
chargeGalaxPayId: ZodNumber;
chargeMyId: ZodString;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
installment: ZodNumber;
myId: ZodString;
payday: ZodString;
paydayDate: ZodString;
payedOutsideGalaxPay: ZodBoolean;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodNumber;
subscriptionMyId: ZodString;
tid: ZodOptional<ZodString>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<["active", "canceled", "closed", "waitingPayment", "inactive"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: string;
name?: string;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: "days";
value?: number;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: string;
name?: string;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: "days";
value?: number;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>;
}
200: ZodObject<{
Contract: ZodObject<{
acceptedAt: ZodString;
document: ZodString;
ip: ZodString;
name: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}>;
Customer: ZodObject<extendShape<{
Address: ZodObject<{
city: ...;
complement: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
}, "strip", ZodTypeAny, {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
}, {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
}>;
document: ZodString;
emails: ZodArray<ZodString, "many">;
invoiceHoldIss: ZodOptional<ZodBoolean>;
municipalDocument: ZodOptional<ZodString>;
myId: ZodString;
name: ZodString;
phones: ZodOptional<ZodArray<(...), (...)>>;
}, {
createdAt: ZodString;
galaPayId: ZodNumber;
status: ZodEnum<[(...), (...), (...), (...)]>;
updatedAt: ZodString;
}>, "strip", ZodTypeAny, {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
}, {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
}>;
ExtraFields: ZodArray<ZodObject<{
tagName: ZodString;
value: ZodString;
}, "strip", ZodTypeAny, {
tagName: string;
value: string;
}, {
tagName: string;
value: string;
}>, "many">;
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ZodEnum<[(...), (...), (...), (...)]>;
description: ZodString;
galaxPaySubAccountId: ZodOptional<ZodNumber>;
qtdDaysAfterPay: ZodOptional<ZodNumber>;
qtdDaysBeforePayDay: ZodOptional<ZodNumber>;
type: ZodEnum<[(...), (...)]>;
}, "strip", ZodTypeAny, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}>, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ZodOptional<ZodObject<{
document: ...;
name: ...;
}, "strip", ZodTypeAny, {
document?: ...;
name?: ...;
}, {
document?: ...;
name?: ...;
}>>;
deadlineDays: ZodOptional<ZodNumber>;
documentNumber: ZodOptional<ZodString>;
fine: ZodOptional<ZodNumber>;
instructions: ZodOptional<ZodString>;
interest: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
}, {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<ZodObject<{
ip: ...;
sessionId: ...;
}, "strip", ZodTypeAny, {
ip: ...;
sessionId: ...;
}, {
ip: ...;
sessionId: ...;
}>>;
Card: ZodObject<{
Brand: ZodOptional<(...)>;
createdAt: ZodOptional<(...)>;
customerGalaxPayId: ZodOptional<(...)>;
customerMyId: ZodOptional<(...)>;
cvv: ZodOptional<(...)>;
expiresAt: ZodOptional<(...)>;
galaxPayId: ZodOptional<(...)>;
holder: ZodOptional<(...)>;
myId: ZodOptional<(...)>;
number: ZodOptional<(...)>;
updatedAt: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}>;
cardOperatorId: ZodOptional<ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>>;
preAuthorize: ZodOptional<ZodBoolean>;
}, "strip", ZodTypeAny, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}>;
PaymentMethodPix: ZodObject<{
Deadline: ZodOptional<ZodObject<{
type: ...;
value: ...;
}, "strip", ZodTypeAny, {
type?: ...;
value?: ...;
}, {
type?: ...;
value?: ...;
}>>;
fine: ZodOptional<ZodNumber>;
instructions: ZodOptional<ZodString>;
interest: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
}, {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
}>;
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<["percent", "fixed"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}>;
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ZodObject<{
code: ...;
message: ...;
}, "strip", ZodTypeAny, {
code: ...;
message: ...;
}, {
code: ...;
message: ...;
}>;
Antifraud: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}>;
Boleto: ZodObject<{
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}>;
ConciliationOccurrences: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
CreditCard: ZodObject<{
Card: ...;
}, "strip", ZodTypeAny, {
Card: ...;
}, {
Card: ...;
}>;
Invoice: ZodObject<{
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, "strip", ZodTypeAny, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}>;
Pix: ZodObject<{
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}, "strip", ZodTypeAny, {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}, {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}>;
Subscription: ZodObject<{
Customer: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
additionalInfo: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, "strip", ZodTypeAny, {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}>;
additionalInfo: ZodOptional<ZodString>;
authorizationCode: ZodOptional<ZodString>;
cardOperatorId: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
chargeGalaxPayId: ZodNumber;
chargeMyId: ZodString;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
installment: ZodNumber;
myId: ZodString;
payday: ZodString;
paydayDate: ZodString;
payedOutsideGalaxPay: ZodBoolean;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodNumber;
subscriptionMyId: ZodString;
tid: ZodOptional<ZodString>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<["active", "canceled", "closed", "waitingPayment", "inactive"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: string;
name?: string;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: "days";
value?: number;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: string;
name?: string;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: "days";
value?: number;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>
create: {
body: ZodObject<{
Customer: ZodObject<{
Address: ZodOptional<ZodObject<{
city: ZodOptional<(...)>;
complement: ZodOptional<(...)>;
neighborhood: ZodOptional<(...)>;
number: ZodOptional<(...)>;
state: ZodOptional<(...)>;
street: ZodOptional<(...)>;
zipCode: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
city?: (...) | (...);
complement?: (...) | (...);
neighborhood?: (...) | (...);
number?: (...) | (...);
state?: (...) | (...);
street?: (...) | (...);
zipCode?: (...) | (...);
}, {
city?: (...) | (...);
complement?: (...) | (...);
neighborhood?: (...) | (...);
number?: (...) | (...);
state?: (...) | (...);
street?: (...) | (...);
zipCode?: (...) | (...);
}>>;
createdAt: ZodOptional<ZodString>;
document: ZodOptional<ZodString>;
emails: ZodOptional<ZodArray<ZodString, "many">>;
galaPayId: ZodOptional<ZodNumber>;
invoiceHoldIss: ZodOptional<ZodOptional<ZodBoolean>>;
municipalDocument: ZodOptional<ZodOptional<ZodString>>;
myId: ZodOptional<ZodString>;
name: ZodOptional<ZodString>;
phones: ZodOptional<ZodOptional<ZodArray<ZodNumber, "many">>>;
status: ZodOptional<ZodEnum<["active", "delayed", "inactive", "withoutSubscriptionOrCharge"]>>;
updatedAt: ZodOptional<ZodString>;
}, "strip", ZodTypeAny, {
Address?: {
city?: string;
complement?: string;
neighborhood?: string;
number?: string;
state?: string;
street?: string;
zipCode?: string;
};
createdAt?: string;
document?: string;
emails?: string[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: number[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
}, {
Address?: {
city?: string;
complement?: string;
neighborhood?: string;
number?: string;
state?: string;
street?: string;
zipCode?: string;
};
createdAt?: string;
document?: string;
emails?: string[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: number[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
}>;
PaymentMethodBoleto: ZodOptional<ZodObject<{
Aggrement: ZodOptional<ZodObject<{
document: ...;
name: ...;
}, "strip", ZodTypeAny, {
document?: ...;
name?: ...;
}, {
document?: ...;
name?: ...;
}>>;
deadlineDays: ZodOptional<ZodNumber>;
documentNumber: ZodOptional<ZodString>;
fine: ZodOptional<ZodNumber>;
instructions: ZodOptional<ZodString>;
interest: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
}, {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
}>>;
PaymentMethodCreditCard: ZodOptional<ZodObject<{
Antifraud: ZodOptional<ZodObject<{
ip: ...;
sessionId: ...;
}, "strip", ZodTypeAny, {
ip: ...;
sessionId: ...;
}, {
ip: ...;
sessionId: ...;
}>>;
Card: ZodObject<{
Brand: ZodOptional<(...)>;
createdAt: ZodOptional<(...)>;
customerGalaxPayId: ZodOptional<(...)>;
customerMyId: ZodOptional<(...)>;
cvv: ZodOptional<(...)>;
expiresAt: ZodOptional<(...)>;
galaxPayId: ZodOptional<(...)>;
holder: ZodOptional<(...)>;
myId: ZodOptional<(...)>;
number: ZodOptional<(...)>;
updatedAt: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}>;
cardOperatorId: ZodOptional<ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>>;
preAuthorize: ZodOptional<ZodBoolean>;
}, "strip", ZodTypeAny, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}>>;
PaymentMethodPix: ZodOptional<ZodObject<{
Deadline: ZodOptional<ZodObject<{
type: ...;
value: ...;
}, "strip", ZodTypeAny, {
type?: ...;
value?: ...;
}, {
type?: ...;
value?: ...;
}>>;
fine: ZodOptional<ZodNumber>;
instructions: ZodOptional<ZodString>;
interest: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
}, {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
}>>;
additionalInfo: ZodOptional<ZodString>;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodString;
payday: ZodString;
payedOutsideGalaxPay: ZodOptional<ZodBoolean>;
planMyId: ZodOptional<ZodString>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Customer: {
Address?: {
city?: string;
complement?: string;
neighborhood?: string;
number?: string;
state?: string;
street?: string;
zipCode?: string;
};
createdAt?: string;
document?: string;
emails?: string[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: number[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
};
PaymentMethodBoleto?: {
Aggrement?: {
document?: string;
name?: string;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard?: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix?: {
Deadline?: {
type?: "days";
value?: number;
};
fine?: number;
instructions?: string;
interest?: number;
};
additionalInfo?: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
payday: string;
payedOutsideGalaxPay?: boolean;
planMyId?: string;
value: number;
}, {
Customer: {
Address?: {
city?: string;
complement?: string;
neighborhood?: string;
number?: string;
state?: string;
street?: string;
zipCode?: string;
};
createdAt?: string;
document?: string;
emails?: string[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: number[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
};
PaymentMethodBoleto?: {
Aggrement?: {
document?: string;
name?: string;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard?: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix?: {
Deadline?: {
type?: "days";
value?: number;
};
fine?: number;
instructions?: string;
interest?: number;
};
additionalInfo?: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
payday: string;
payedOutsideGalaxPay?: boolean;
planMyId?: string;
value: number;
}>;
method: "POST";
path: "/";
responses: {
200: ZodObject<{
Charge: ZodObject<{
Contract: ZodObject<{
acceptedAt: ZodString;
document: ZodString;
ip: ZodString;
name: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}>;
Customer: ZodObject<extendShape<{
Address: ...;
document: ...;
emails: ...;
invoiceHoldIss: ...;
municipalDocument: ...;
myId: ...;
name: ...;
phones: ...;
}, {
createdAt: ...;
galaPayId: ...;
status: ...;
updatedAt: ...;
}>, "strip", ZodTypeAny, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}>;
ExtraFields: ZodArray<ZodObject<{
tagName: ...;
value: ...;
}, "strip", ZodTypeAny, {
tagName: ...;
value: ...;
}, {
tagName: ...;
value: ...;
}>, "many">;
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ...;
description: ...;
galaxPaySubAccountId: ...;
qtdDaysAfterPay: ...;
qtdDaysBeforePayDay: ...;
type: ...;
}, "strip", ZodTypeAny, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}>, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ZodOptional<(...)>;
deadlineDays: ZodOptional<(...)>;
documentNumber: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<(...)>;
Card: ZodObject<(...), (...), (...), (...), (...)>;
cardOperatorId: ZodOptional<(...)>;
preAuthorize: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}>;
PaymentMethodPix: ZodObject<{
Deadline: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<(...)>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}>;
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo: ...;
authorizationCode: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid: ...;
value: ...;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<["active", "canceled", "closed", "waitingPayment", "inactive"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}>;
};
}
body: ZodObject<{
Customer: ZodObject<{
Address: ZodOptional<ZodObject<{
city: ZodOptional<(...)>;
complement: ZodOptional<(...)>;
neighborhood: ZodOptional<(...)>;
number: ZodOptional<(...)>;
state: ZodOptional<(...)>;
street: ZodOptional<(...)>;
zipCode: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
city?: (...) | (...);
complement?: (...) | (...);
neighborhood?: (...) | (...);
number?: (...) | (...);
state?: (...) | (...);
street?: (...) | (...);
zipCode?: (...) | (...);
}, {
city?: (...) | (...);
complement?: (...) | (...);
neighborhood?: (...) | (...);
number?: (...) | (...);
state?: (...) | (...);
street?: (...) | (...);
zipCode?: (...) | (...);
}>>;
createdAt: ZodOptional<ZodString>;
document: ZodOptional<ZodString>;
emails: ZodOptional<ZodArray<ZodString, "many">>;
galaPayId: ZodOptional<ZodNumber>;
invoiceHoldIss: ZodOptional<ZodOptional<ZodBoolean>>;
municipalDocument: ZodOptional<ZodOptional<ZodString>>;
myId: ZodOptional<ZodString>;
name: ZodOptional<ZodString>;
phones: ZodOptional<ZodOptional<ZodArray<ZodNumber, "many">>>;
status: ZodOptional<ZodEnum<["active", "delayed", "inactive", "withoutSubscriptionOrCharge"]>>;
updatedAt: ZodOptional<ZodString>;
}, "strip", ZodTypeAny, {
Address?: {
city?: string;
complement?: string;
neighborhood?: string;
number?: string;
state?: string;
street?: string;
zipCode?: string;
};
createdAt?: string;
document?: string;
emails?: string[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: number[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
}, {
Address?: {
city?: string;
complement?: string;
neighborhood?: string;
number?: string;
state?: string;
street?: string;
zipCode?: string;
};
createdAt?: string;
document?: string;
emails?: string[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: number[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
}>;
PaymentMethodBoleto: ZodOptional<ZodObject<{
Aggrement: ZodOptional<ZodObject<{
document: ...;
name: ...;
}, "strip", ZodTypeAny, {
document?: ...;
name?: ...;
}, {
document?: ...;
name?: ...;
}>>;
deadlineDays: ZodOptional<ZodNumber>;
documentNumber: ZodOptional<ZodString>;
fine: ZodOptional<ZodNumber>;
instructions: ZodOptional<ZodString>;
interest: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
}, {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
}>>;
PaymentMethodCreditCard: ZodOptional<ZodObject<{
Antifraud: ZodOptional<ZodObject<{
ip: ...;
sessionId: ...;
}, "strip", ZodTypeAny, {
ip: ...;
sessionId: ...;
}, {
ip: ...;
sessionId: ...;
}>>;
Card: ZodObject<{
Brand: ZodOptional<(...)>;
createdAt: ZodOptional<(...)>;
customerGalaxPayId: ZodOptional<(...)>;
customerMyId: ZodOptional<(...)>;
cvv: ZodOptional<(...)>;
expiresAt: ZodOptional<(...)>;
galaxPayId: ZodOptional<(...)>;
holder: ZodOptional<(...)>;
myId: ZodOptional<(...)>;
number: ZodOptional<(...)>;
updatedAt: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}>;
cardOperatorId: ZodOptional<ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>>;
preAuthorize: ZodOptional<ZodBoolean>;
}, "strip", ZodTypeAny, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}>>;
PaymentMethodPix: ZodOptional<ZodObject<{
Deadline: ZodOptional<ZodObject<{
type: ...;
value: ...;
}, "strip", ZodTypeAny, {
type?: ...;
value?: ...;
}, {
type?: ...;
value?: ...;
}>>;
fine: ZodOptional<ZodNumber>;
instructions: ZodOptional<ZodString>;
interest: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
}, {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
}>>;
additionalInfo: ZodOptional<ZodString>;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodString;
payday: ZodString;
payedOutsideGalaxPay: ZodOptional<ZodBoolean>;
planMyId: ZodOptional<ZodString>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Customer: {
Address?: {
city?: string;
complement?: string;
neighborhood?: string;
number?: string;
state?: string;
street?: string;
zipCode?: string;
};
createdAt?: string;
document?: string;
emails?: string[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: number[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
};
PaymentMethodBoleto?: {
Aggrement?: {
document?: string;
name?: string;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard?: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix?: {
Deadline?: {
type?: "days";
value?: number;
};
fine?: number;
instructions?: string;
interest?: number;
};
additionalInfo?: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
payday: string;
payedOutsideGalaxPay?: boolean;
planMyId?: string;
value: number;
}, {
Customer: {
Address?: {
city?: string;
complement?: string;
neighborhood?: string;
number?: string;
state?: string;
street?: string;
zipCode?: string;
};
createdAt?: string;
document?: string;
emails?: string[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: number[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
};
PaymentMethodBoleto?: {
Aggrement?: {
document?: string;
name?: string;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard?: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix?: {
Deadline?: {
type?: "days";
value?: number;
};
fine?: number;
instructions?: string;
interest?: number;
};
additionalInfo?: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
payday: string;
payedOutsideGalaxPay?: boolean;
planMyId?: string;
value: number;
}>
method: "POST"
path: "/"
responses: {
200: ZodObject<{
Charge: ZodObject<{
Contract: ZodObject<{
acceptedAt: ZodString;
document: ZodString;
ip: ZodString;
name: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}>;
Customer: ZodObject<extendShape<{
Address: ...;
document: ...;
emails: ...;
invoiceHoldIss: ...;
municipalDocument: ...;
myId: ...;
name: ...;
phones: ...;
}, {
createdAt: ...;
galaPayId: ...;
status: ...;
updatedAt: ...;
}>, "strip", ZodTypeAny, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}>;
ExtraFields: ZodArray<ZodObject<{
tagName: ...;
value: ...;
}, "strip", ZodTypeAny, {
tagName: ...;
value: ...;
}, {
tagName: ...;
value: ...;
}>, "many">;
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ...;
description: ...;
galaxPaySubAccountId: ...;
qtdDaysAfterPay: ...;
qtdDaysBeforePayDay: ...;
type: ...;
}, "strip", ZodTypeAny, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}>, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ZodOptional<(...)>;
deadlineDays: ZodOptional<(...)>;
documentNumber: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<(...)>;
Card: ZodObject<(...), (...), (...), (...), (...)>;
cardOperatorId: ZodOptional<(...)>;
preAuthorize: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}>;
PaymentMethodPix: ZodObject<{
Deadline: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<(...)>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}>;
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo: ...;
authorizationCode: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid: ...;
value: ...;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<["active", "canceled", "closed", "waitingPayment", "inactive"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}>;
}
200: ZodObject<{
Charge: ZodObject<{
Contract: ZodObject<{
acceptedAt: ZodString;
document: ZodString;
ip: ZodString;
name: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}>;
Customer: ZodObject<extendShape<{
Address: ...;
document: ...;
emails: ...;
invoiceHoldIss: ...;
municipalDocument: ...;
myId: ...;
name: ...;
phones: ...;
}, {
createdAt: ...;
galaPayId: ...;
status: ...;
updatedAt: ...;
}>, "strip", ZodTypeAny, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}>;
ExtraFields: ZodArray<ZodObject<{
tagName: ...;
value: ...;
}, "strip", ZodTypeAny, {
tagName: ...;
value: ...;
}, {
tagName: ...;
value: ...;
}>, "many">;
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ...;
description: ...;
galaxPaySubAccountId: ...;
qtdDaysAfterPay: ...;
qtdDaysBeforePayDay: ...;
type: ...;
}, "strip", ZodTypeAny, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}>, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ZodOptional<(...)>;
deadlineDays: ZodOptional<(...)>;
documentNumber: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<(...)>;
Card: ZodObject<(...), (...), (...), (...), (...)>;
cardOperatorId: ZodOptional<(...)>;
preAuthorize: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}>;
PaymentMethodPix: ZodObject<{
Deadline: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<(...)>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}>;
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo: ...;
authorizationCode: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid: ...;
value: ...;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<["active", "canceled", "closed", "waitingPayment", "inactive"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}>
list: {
method: "GET";
path: "/";
query: ZodObject<{
createdAtFrom: ZodOptional<ZodString>;
createdAtTo: ZodOptional<ZodString>;
customerGalaxPayIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodNumber, "many">, ZodNumber]>>, undefined | string | number, undefined | number | number[]>;
customerMyIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodString, "many">, ZodString]>>, undefined | string | number, undefined | string | string[]>;
galaxPayIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodNumber, "many">, ZodNumber]>>, undefined | string | number, undefined | number | number[]>;
limit: ZodNumber;
myIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodString, "many">, ZodString]>>, undefined | string | number, undefined | string | string[]>;
order: ZodOptional<ZodEnum<["createdAt.asc", "createdAt.desc"]>>;
startAt: ZodNumber;
status: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodEnum<(...)>, "many">, ZodEnum<[(...), (...)]>]>>, undefined | string | number, undefined | "active" | "inactive" | ("active" | "inactive")[]>;
}, "strip", ZodTypeAny, {
createdAtFrom?: string;
createdAtTo?: string;
customerGalaxPayIds?: string | number;
customerMyIds?: string | number;
galaxPayIds?: string | number;
limit: number;
myIds?: string | number;
order?: "createdAt.asc" | "createdAt.desc";
startAt: number;
status?: string | number;
}, {
createdAtFrom?: string;
createdAtTo?: string;
customerGalaxPayIds?: number | number[];
customerMyIds?: string | string[];
galaxPayIds?: number | number[];
limit: number;
myIds?: string | string[];
order?: "createdAt.asc" | "createdAt.desc";
startAt: number;
status?: "active" | "inactive" | ("active" | "inactive")[];
}>;
responses: {
200: ZodObject<{
Charges: ZodArray<ZodObject<{
Contract: ZodObject<{
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
}, {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
}>;
Customer: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
}, {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
}>;
ExtraFields: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
InvoiceConfig: ZodEffects<ZodObject<(...), (...), (...), (...), (...)>, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ...;
deadlineDays: ...;
documentNumber: ...;
fine: ...;
instructions: ...;
interest: ...;
}, "strip", ZodTypeAny, {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
}, {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ...;
Card: ...;
cardOperatorId: ...;
preAuthorize: ...;
}, "strip", ZodTypeAny, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}>;
PaymentMethodPix: ZodObject<{
Deadline: ...;
fine: ...;
instructions: ...;
interest: ...;
}, "strip", ZodTypeAny, {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
}, {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
}>;
Split: ZodObject<{
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
}, "strip", ZodTypeAny, {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
}, {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
}>;
Transactions: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<[(...), (...), (...)]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...)]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
};
ExtraFields: {
tagName: ...;
value: ...;
}[];
InvoiceConfig: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
};
Transactions: {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
};
ExtraFields: {
tagName: ...;
value: ...;
}[];
InvoiceConfig: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
};
Transactions: {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>, "many">;
totalQtdFoundInPage: ZodNumber;
}, "strip", ZodTypeAny, {
Charges: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}[];
totalQtdFoundInPage: number;
}, {
Charges: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}[];
totalQtdFoundInPage: number;
}>;
};
}
method: "GET"
path: "/"
query: ZodObject<{
createdAtFrom: ZodOptional<ZodString>;
createdAtTo: ZodOptional<ZodString>;
customerGalaxPayIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodNumber, "many">, ZodNumber]>>, undefined | string | number, undefined | number | number[]>;
customerMyIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodString, "many">, ZodString]>>, undefined | string | number, undefined | string | string[]>;
galaxPayIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodNumber, "many">, ZodNumber]>>, undefined | string | number, undefined | number | number[]>;
limit: ZodNumber;
myIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodString, "many">, ZodString]>>, undefined | string | number, undefined | string | string[]>;
order: ZodOptional<ZodEnum<["createdAt.asc", "createdAt.desc"]>>;
startAt: ZodNumber;
status: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodEnum<(...)>, "many">, ZodEnum<[(...), (...)]>]>>, undefined | string | number, undefined | "active" | "inactive" | ("active" | "inactive")[]>;
}, "strip", ZodTypeAny, {
createdAtFrom?: string;
createdAtTo?: string;
customerGalaxPayIds?: string | number;
customerMyIds?: string | number;
galaxPayIds?: string | number;
limit: number;
myIds?: string | number;
order?: "createdAt.asc" | "createdAt.desc";
startAt: number;
status?: string | number;
}, {
createdAtFrom?: string;
createdAtTo?: string;
customerGalaxPayIds?: number | number[];
customerMyIds?: string | string[];
galaxPayIds?: number | number[];
limit: number;
myIds?: string | string[];
order?: "createdAt.asc" | "createdAt.desc";
startAt: number;
status?: "active" | "inactive" | ("active" | "inactive")[];
}>
responses: {
200: ZodObject<{
Charges: ZodArray<ZodObject<{
Contract: ZodObject<{
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
}, {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
}>;
Customer: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
}, {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
}>;
ExtraFields: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
InvoiceConfig: ZodEffects<ZodObject<(...), (...), (...), (...), (...)>, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ...;
deadlineDays: ...;
documentNumber: ...;
fine: ...;
instructions: ...;
interest: ...;
}, "strip", ZodTypeAny, {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
}, {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ...;
Card: ...;
cardOperatorId: ...;
preAuthorize: ...;
}, "strip", ZodTypeAny, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}>;
PaymentMethodPix: ZodObject<{
Deadline: ...;
fine: ...;
instructions: ...;
interest: ...;
}, "strip", ZodTypeAny, {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
}, {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
}>;
Split: ZodObject<{
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
}, "strip", ZodTypeAny, {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
}, {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
}>;
Transactions: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<[(...), (...), (...)]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...)]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
};
ExtraFields: {
tagName: ...;
value: ...;
}[];
InvoiceConfig: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
};
Transactions: {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
};
ExtraFields: {
tagName: ...;
value: ...;
}[];
InvoiceConfig: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
};
Transactions: {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>, "many">;
totalQtdFoundInPage: ZodNumber;
}, "strip", ZodTypeAny, {
Charges: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}[];
totalQtdFoundInPage: number;
}, {
Charges: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}[];
totalQtdFoundInPage: number;
}>;
}
200: ZodObject<{
Charges: ZodArray<ZodObject<{
Contract: ZodObject<{
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
}, {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
}>;
Customer: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
}, {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
}>;
ExtraFields: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
InvoiceConfig: ZodEffects<ZodObject<(...), (...), (...), (...), (...)>, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ...;
deadlineDays: ...;
documentNumber: ...;
fine: ...;
instructions: ...;
interest: ...;
}, "strip", ZodTypeAny, {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
}, {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ...;
Card: ...;
cardOperatorId: ...;
preAuthorize: ...;
}, "strip", ZodTypeAny, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}>;
PaymentMethodPix: ZodObject<{
Deadline: ...;
fine: ...;
instructions: ...;
interest: ...;
}, "strip", ZodTypeAny, {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
}, {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
}>;
Split: ZodObject<{
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
}, "strip", ZodTypeAny, {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
}, {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
}>;
Transactions: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<[(...), (...), (...)]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...)]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
};
ExtraFields: {
tagName: ...;
value: ...;
}[];
InvoiceConfig: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
};
Transactions: {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
};
ExtraFields: {
tagName: ...;
value: ...;
}[];
InvoiceConfig: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
};
Transactions: {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>, "many">;
totalQtdFoundInPage: ZodNumber;
}, "strip", ZodTypeAny, {
Charges: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}[];
totalQtdFoundInPage: number;
}, {
Charges: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}[];
totalQtdFoundInPage: number;
}>
retry: {
body: typeof ContractNoBody;
method: "PUT";
path: "/:chargeId/:typeId/retry";
pathParams: ZodObject<{
chargeId: ZodUnion<[ZodNumber, ZodString]>;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}>;
responses: {
200: ZodObject<{
Charge: ZodObject<{
Contract: ZodObject<{
acceptedAt: ZodString;
document: ZodString;
ip: ZodString;
name: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}>;
Customer: ZodObject<extendShape<{
Address: ...;
document: ...;
emails: ...;
invoiceHoldIss: ...;
municipalDocument: ...;
myId: ...;
name: ...;
phones: ...;
}, {
createdAt: ...;
galaPayId: ...;
status: ...;
updatedAt: ...;
}>, "strip", ZodTypeAny, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}>;
ExtraFields: ZodArray<ZodObject<{
tagName: ...;
value: ...;
}, "strip", ZodTypeAny, {
tagName: ...;
value: ...;
}, {
tagName: ...;
value: ...;
}>, "many">;
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ...;
description: ...;
galaxPaySubAccountId: ...;
qtdDaysAfterPay: ...;
qtdDaysBeforePayDay: ...;
type: ...;
}, "strip", ZodTypeAny, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}>, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ZodOptional<(...)>;
deadlineDays: ZodOptional<(...)>;
documentNumber: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<(...)>;
Card: ZodObject<(...), (...), (...), (...), (...)>;
cardOperatorId: ZodOptional<(...)>;
preAuthorize: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}>;
PaymentMethodPix: ZodObject<{
Deadline: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<(...)>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}>;
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo: ...;
authorizationCode: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid: ...;
value: ...;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<["active", "canceled", "closed", "waitingPayment", "inactive"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}>;
};
}
body: typeof ContractNoBody
method: "PUT"
path: "/:chargeId/:typeId/retry"
pathParams: ZodObject<{
chargeId: ZodUnion<[ZodNumber, ZodString]>;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}>
responses: {
200: ZodObject<{
Charge: ZodObject<{
Contract: ZodObject<{
acceptedAt: ZodString;
document: ZodString;
ip: ZodString;
name: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}>;
Customer: ZodObject<extendShape<{
Address: ...;
document: ...;
emails: ...;
invoiceHoldIss: ...;
municipalDocument: ...;
myId: ...;
name: ...;
phones: ...;
}, {
createdAt: ...;
galaPayId: ...;
status: ...;
updatedAt: ...;
}>, "strip", ZodTypeAny, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}>;
ExtraFields: ZodArray<ZodObject<{
tagName: ...;
value: ...;
}, "strip", ZodTypeAny, {
tagName: ...;
value: ...;
}, {
tagName: ...;
value: ...;
}>, "many">;
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ...;
description: ...;
galaxPaySubAccountId: ...;
qtdDaysAfterPay: ...;
qtdDaysBeforePayDay: ...;
type: ...;
}, "strip", ZodTypeAny, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}>, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ZodOptional<(...)>;
deadlineDays: ZodOptional<(...)>;
documentNumber: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<(...)>;
Card: ZodObject<(...), (...), (...), (...), (...)>;
cardOperatorId: ZodOptional<(...)>;
preAuthorize: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}>;
PaymentMethodPix: ZodObject<{
Deadline: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<(...)>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}>;
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo: ...;
authorizationCode: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid: ...;
value: ...;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<["active", "canceled", "closed", "waitingPayment", "inactive"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}>;
}
200: ZodObject<{
Charge: ZodObject<{
Contract: ZodObject<{
acceptedAt: ZodString;
document: ZodString;
ip: ZodString;
name: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}>;
Customer: ZodObject<extendShape<{
Address: ...;
document: ...;
emails: ...;
invoiceHoldIss: ...;
municipalDocument: ...;
myId: ...;
name: ...;
phones: ...;
}, {
createdAt: ...;
galaPayId: ...;
status: ...;
updatedAt: ...;
}>, "strip", ZodTypeAny, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}>;
ExtraFields: ZodArray<ZodObject<{
tagName: ...;
value: ...;
}, "strip", ZodTypeAny, {
tagName: ...;
value: ...;
}, {
tagName: ...;
value: ...;
}>, "many">;
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ...;
description: ...;
galaxPaySubAccountId: ...;
qtdDaysAfterPay: ...;
qtdDaysBeforePayDay: ...;
type: ...;
}, "strip", ZodTypeAny, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}>, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ZodOptional<(...)>;
deadlineDays: ZodOptional<(...)>;
documentNumber: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<(...)>;
Card: ZodObject<(...), (...), (...), (...), (...)>;
cardOperatorId: ZodOptional<(...)>;
preAuthorize: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}>;
PaymentMethodPix: ZodObject<{
Deadline: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<(...)>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}>;
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo: ...;
authorizationCode: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid: ...;
value: ...;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<["active", "canceled", "closed", "waitingPayment", "inactive"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}>
reverse: {
body: ZodObject<{
valueToReverse: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
valueToReverse?: number;
}, {
valueToReverse?: number;
}>;
method: "PUT";
path: "/:chargeId/:typeId/reverse";
pathParams: ZodObject<{
chargeId: ZodUnion<[ZodNumber, ZodString]>;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}>;
responses: {
200: ZodObject<{
Charge: ZodObject<{
Contract: ZodObject<{
acceptedAt: ZodString;
document: ZodString;
ip: ZodString;
name: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}>;
Customer: ZodObject<extendShape<{
Address: ...;
document: ...;
emails: ...;
invoiceHoldIss: ...;
municipalDocument: ...;
myId: ...;
name: ...;
phones: ...;
}, {
createdAt: ...;
galaPayId: ...;
status: ...;
updatedAt: ...;
}>, "strip", ZodTypeAny, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}>;
ExtraFields: ZodArray<ZodObject<{
tagName: ...;
value: ...;
}, "strip", ZodTypeAny, {
tagName: ...;
value: ...;
}, {
tagName: ...;
value: ...;
}>, "many">;
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ...;
description: ...;
galaxPaySubAccountId: ...;
qtdDaysAfterPay: ...;
qtdDaysBeforePayDay: ...;
type: ...;
}, "strip", ZodTypeAny, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}>, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ZodOptional<(...)>;
deadlineDays: ZodOptional<(...)>;
documentNumber: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<(...)>;
Card: ZodObject<(...), (...), (...), (...), (...)>;
cardOperatorId: ZodOptional<(...)>;
preAuthorize: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}>;
PaymentMethodPix: ZodObject<{
Deadline: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<(...)>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}>;
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo: ...;
authorizationCode: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid: ...;
value: ...;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<["active", "canceled", "closed", "waitingPayment", "inactive"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}>;
};
}
body: ZodObject<{
valueToReverse: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
valueToReverse?: number;
}, {
valueToReverse?: number;
}>
method: "PUT"
path: "/:chargeId/:typeId/reverse"
pathParams: ZodObject<{
chargeId: ZodUnion<[ZodNumber, ZodString]>;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}>
responses: {
200: ZodObject<{
Charge: ZodObject<{
Contract: ZodObject<{
acceptedAt: ZodString;
document: ZodString;
ip: ZodString;
name: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}>;
Customer: ZodObject<extendShape<{
Address: ...;
document: ...;
emails: ...;
invoiceHoldIss: ...;
municipalDocument: ...;
myId: ...;
name: ...;
phones: ...;
}, {
createdAt: ...;
galaPayId: ...;
status: ...;
updatedAt: ...;
}>, "strip", ZodTypeAny, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}>;
ExtraFields: ZodArray<ZodObject<{
tagName: ...;
value: ...;
}, "strip", ZodTypeAny, {
tagName: ...;
value: ...;
}, {
tagName: ...;
value: ...;
}>, "many">;
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ...;
description: ...;
galaxPaySubAccountId: ...;
qtdDaysAfterPay: ...;
qtdDaysBeforePayDay: ...;
type: ...;
}, "strip", ZodTypeAny, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}>, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ZodOptional<(...)>;
deadlineDays: ZodOptional<(...)>;
documentNumber: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<(...)>;
Card: ZodObject<(...), (...), (...), (...), (...)>;
cardOperatorId: ZodOptional<(...)>;
preAuthorize: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}>;
PaymentMethodPix: ZodObject<{
Deadline: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<(...)>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}>;
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo: ...;
authorizationCode: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid: ...;
value: ...;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<["active", "canceled", "closed", "waitingPayment", "inactive"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}>;
}
200: ZodObject<{
Charge: ZodObject<{
Contract: ZodObject<{
acceptedAt: ZodString;
document: ZodString;
ip: ZodString;
name: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}>;
Customer: ZodObject<extendShape<{
Address: ...;
document: ...;
emails: ...;
invoiceHoldIss: ...;
municipalDocument: ...;
myId: ...;
name: ...;
phones: ...;
}, {
createdAt: ...;
galaPayId: ...;
status: ...;
updatedAt: ...;
}>, "strip", ZodTypeAny, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}>;
ExtraFields: ZodArray<ZodObject<{
tagName: ...;
value: ...;
}, "strip", ZodTypeAny, {
tagName: ...;
value: ...;
}, {
tagName: ...;
value: ...;
}>, "many">;
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ...;
description: ...;
galaxPaySubAccountId: ...;
qtdDaysAfterPay: ...;
qtdDaysBeforePayDay: ...;
type: ...;
}, "strip", ZodTypeAny, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}>, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ZodOptional<(...)>;
deadlineDays: ZodOptional<(...)>;
documentNumber: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<(...)>;
Card: ZodObject<(...), (...), (...), (...), (...)>;
cardOperatorId: ZodOptional<(...)>;
preAuthorize: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}>;
PaymentMethodPix: ZodObject<{
Deadline: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<(...)>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}>;
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo: ...;
authorizationCode: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid: ...;
value: ...;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<["active", "canceled", "closed", "waitingPayment", "inactive"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}>
update: {
body: ZodObject<{
additionalInfo: ZodOptional<ZodString>;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodOptional<ZodString>;
payday: ZodOptional<ZodString>;
payedOutsideGalaxPay: ZodOptional<ZodBoolean>;
planGalaxPayId: ZodOptional<ZodString>;
planMyId: ZodOptional<ZodString>;
value: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
additionalInfo?: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId?: string;
payday?: string;
payedOutsideGalaxPay?: boolean;
planGalaxPayId?: string;
planMyId?: string;
value?: number;
}, {
additionalInfo?: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId?: string;
payday?: string;
payedOutsideGalaxPay?: boolean;
planGalaxPayId?: string;
planMyId?: string;
value?: number;
}>;
method: "PUT";
path: "/:chargeId/:typeId";
pathParams: ZodObject<{
chargeId: ZodUnion<[ZodNumber, ZodString]>;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}>;
responses: {
200: ZodObject<{
Charge: ZodObject<{
Contract: ZodObject<{
acceptedAt: ZodString;
document: ZodString;
ip: ZodString;
name: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}>;
Customer: ZodObject<extendShape<{
Address: ...;
document: ...;
emails: ...;
invoiceHoldIss: ...;
municipalDocument: ...;
myId: ...;
name: ...;
phones: ...;
}, {
createdAt: ...;
galaPayId: ...;
status: ...;
updatedAt: ...;
}>, "strip", ZodTypeAny, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}>;
ExtraFields: ZodArray<ZodObject<{
tagName: ...;
value: ...;
}, "strip", ZodTypeAny, {
tagName: ...;
value: ...;
}, {
tagName: ...;
value: ...;
}>, "many">;
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ...;
description: ...;
galaxPaySubAccountId: ...;
qtdDaysAfterPay: ...;
qtdDaysBeforePayDay: ...;
type: ...;
}, "strip", ZodTypeAny, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}>, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ZodOptional<(...)>;
deadlineDays: ZodOptional<(...)>;
documentNumber: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<(...)>;
Card: ZodObject<(...), (...), (...), (...), (...)>;
cardOperatorId: ZodOptional<(...)>;
preAuthorize: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}>;
PaymentMethodPix: ZodObject<{
Deadline: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<(...)>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}>;
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo: ...;
authorizationCode: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid: ...;
value: ...;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<["active", "canceled", "closed", "waitingPayment", "inactive"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}>;
};
}
body: ZodObject<{
additionalInfo: ZodOptional<ZodString>;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodOptional<ZodString>;
payday: ZodOptional<ZodString>;
payedOutsideGalaxPay: ZodOptional<ZodBoolean>;
planGalaxPayId: ZodOptional<ZodString>;
planMyId: ZodOptional<ZodString>;
value: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
additionalInfo?: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId?: string;
payday?: string;
payedOutsideGalaxPay?: boolean;
planGalaxPayId?: string;
planMyId?: string;
value?: number;
}, {
additionalInfo?: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId?: string;
payday?: string;
payedOutsideGalaxPay?: boolean;
planGalaxPayId?: string;
planMyId?: string;
value?: number;
}>
method: "PUT"
path: "/:chargeId/:typeId"
pathParams: ZodObject<{
chargeId: ZodUnion<[ZodNumber, ZodString]>;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}, {
chargeId: string | number;
typeId: "galaxPayId" | "myId";
}>
responses: {
200: ZodObject<{
Charge: ZodObject<{
Contract: ZodObject<{
acceptedAt: ZodString;
document: ZodString;
ip: ZodString;
name: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}>;
Customer: ZodObject<extendShape<{
Address: ...;
document: ...;
emails: ...;
invoiceHoldIss: ...;
municipalDocument: ...;
myId: ...;
name: ...;
phones: ...;
}, {
createdAt: ...;
galaPayId: ...;
status: ...;
updatedAt: ...;
}>, "strip", ZodTypeAny, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}>;
ExtraFields: ZodArray<ZodObject<{
tagName: ...;
value: ...;
}, "strip", ZodTypeAny, {
tagName: ...;
value: ...;
}, {
tagName: ...;
value: ...;
}>, "many">;
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ...;
description: ...;
galaxPaySubAccountId: ...;
qtdDaysAfterPay: ...;
qtdDaysBeforePayDay: ...;
type: ...;
}, "strip", ZodTypeAny, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}>, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ZodOptional<(...)>;
deadlineDays: ZodOptional<(...)>;
documentNumber: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<(...)>;
Card: ZodObject<(...), (...), (...), (...), (...)>;
cardOperatorId: ZodOptional<(...)>;
preAuthorize: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}>;
PaymentMethodPix: ZodObject<{
Deadline: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<(...)>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}>;
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo: ...;
authorizationCode: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid: ...;
value: ...;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<["active", "canceled", "closed", "waitingPayment", "inactive"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}>;
}
200: ZodObject<{
Charge: ZodObject<{
Contract: ZodObject<{
acceptedAt: ZodString;
document: ZodString;
ip: ZodString;
name: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}, {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
}>;
Customer: ZodObject<extendShape<{
Address: ...;
document: ...;
emails: ...;
invoiceHoldIss: ...;
municipalDocument: ...;
myId: ...;
name: ...;
phones: ...;
}, {
createdAt: ...;
galaPayId: ...;
status: ...;
updatedAt: ...;
}>, "strip", ZodTypeAny, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}, {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
}>;
ExtraFields: ZodArray<ZodObject<{
tagName: ...;
value: ...;
}, "strip", ZodTypeAny, {
tagName: ...;
value: ...;
}, {
tagName: ...;
value: ...;
}>, "many">;
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ...;
description: ...;
galaxPaySubAccountId: ...;
qtdDaysAfterPay: ...;
qtdDaysBeforePayDay: ...;
type: ...;
}, "strip", ZodTypeAny, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}, {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
}>, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}, {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
}>;
PaymentMethodBoleto: ZodObject<{
Aggrement: ZodOptional<(...)>;
deadlineDays: ZodOptional<(...)>;
documentNumber: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<(...)>;
Card: ZodObject<(...), (...), (...), (...), (...)>;
cardOperatorId: ZodOptional<(...)>;
preAuthorize: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}, {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
}>;
PaymentMethodPix: ZodObject<{
Deadline: ZodOptional<(...)>;
fine: ZodOptional<(...)>;
instructions: ZodOptional<(...)>;
interest: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}, {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
}>;
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<(...)>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
}>;
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo: ...;
authorizationCode: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid: ...;
value: ...;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}, {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}>, "many">;
additionalInfo: ZodNullable<ZodString>;
galaxPayId: ZodString;
mainPaymentMethodId: ZodEnum<["creditcard", "boleto", "pix"]>;
myId: ZodNullable<ZodString>;
payedOutsideGalaxPay: ZodBoolean;
paymentLink: ZodString;
planGalaxPayId: ZodString;
planMyId: ZodNullable<ZodString>;
status: ZodEnum<["active", "canceled", "closed", "waitingPayment", "inactive"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}, {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: (...) | (...);
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: (...)[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: ...;
name?: ...;
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: ...;
value?: ...;
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: ...;
message: ...;
};
Antifraud: {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
};
Boleto: {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
};
ConciliationOccurrences: (...)[];
CreditCard: {
Card: ...;
};
Invoice: {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
};
Pix: {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
};
Subscription: {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
};
additionalInfo?: (...) | (...);
authorizationCode?: (...) | (...);
cardOperatorId: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: (...) | (...);
status: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: (...) | (...);
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}, {
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: string;
complement?: string;
neighborhood: string;
number: string;
state: string;
street: string;
zipCode: string;
};
createdAt: string;
document: string;
emails: string[];
galaPayId: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId: string;
name: string;
phones?: number[];
status: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt: string;
};
ExtraFields: {
tagName: string;
value: string;
}[];
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodBoleto: {
Aggrement?: {
document?: (...) | (...);
name?: (...) | (...);
};
deadlineDays?: number;
documentNumber?: string;
fine?: number;
instructions?: string;
interest?: number;
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
PaymentMethodPix: {
Deadline?: {
type?: (...) | (...);
value?: (...) | (...);
};
fine?: number;
instructions?: string;
interest?: number;
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
};
type: boolean;
}>
Type declaration
commonResponses: {
507: ContractPlainType<ZodError<any>>;
}
507: ContractPlainType<ZodError<any>>
pathPrefix: "/charges"
Router for handling charge-related operations.